home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / misc / ConfigLib2.lha / ConfigLibrary / Include / clib / config_protos.h
Encoding:
C/C++ Source or Header  |  1996-09-07  |  566 b   |  20 lines

  1. /*
  2. ** $VER: config_protos.h 1.0 (7.9.96)
  3. **
  4. ** Prototypes for config.library
  5. **
  6. ** Copyright (C) 1996, Adam Dawes.
  7. */
  8.  
  9. #ifndef CLIB_CONFIG_PROTOS_H
  10. #define CLIB_CONFIG_PROTOS_H
  11.  
  12. #include <libraries/config.h>
  13.  
  14. int WriteConfig(char *filename, char *section, char *item, char *data);
  15. int WriteConfigNumber(char *filename, char *section, char *item, long data);
  16. int ReadConfig(char *filename, char *section, char *item, char *buffer, int bufsize, char *def);
  17. long ReadConfigNumber(char *filename, char *section, char *item, long def);
  18.  
  19. #endif /* CLIB_CONFIG_PROTOS_H */
  20.